package com.bdqn.pojo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.stereotype.Component;

import java.util.List;

@Data // 自动生成getXXX()、setXXX()方法
@NoArgsConstructor // 自动生成无参构造方法
@AllArgsConstructor // 自动生成带所有参数的构造方法
@ToString // 自动生成toString()方法
@Component
public class Comment {

  private long id;
  private String content;
  private long accountId;
  private long roomTypeId;
  private String time;
  private Account account;



  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public String getContent() {
    return content;
  }

  public void setContent(String content) {
    this.content = content;
  }


  public long getAccountId() {
    return accountId;
  }

  public void setAccountId(long accountId) {
    this.accountId = accountId;
  }


  public long getRoomTypeId() {
    return roomTypeId;
  }

  public void setRoomTypeId(long roomTypeId) {
    this.roomTypeId = roomTypeId;
  }

}
